﻿<div id="sidebar-wrapper">
    <h1 id="sidebar-title">
        <a href="#">BITC CMS Control Panel</a></h1>
    <!-- Logo (221px wide) -->
    <a href="/">
        <img id="logo" src="/Areas/Admin/content/images/logo.png" alt="BITC CMS Control Panel logo" /></a>
    <div id="profile-links">
        Hello,
        @HttpContext.Current.User.Identity.Name
        <br />
        <a href="/" title="View the Site" target="_blank">View the Site</a> |
        <a href="javascript:void(0);" id="log-off" url="@Url.Action("LogOff", "Account")">@HttpContext.GetLocalResourceObject(this.VirtualPath, "LogOff").ToString()</a>
    </div>
    <ul id="main-nav">
        <!-- Accordion Menu -->
        <li><a href="/" class="nav-top-item no-submenu">
            <!-- Add the class "no-submenu" to menu items with no sub menu -->
            Dashboard </a></li>
        <li><a href="#" class="nav-top-item" id="mnuArticle">@HttpContext.GetLocalResourceObject(this.VirtualPath, "Article").ToString()</a>
            <ul>
                <li>@Html.RouteLink(HttpContext.GetLocalResourceObject(this.VirtualPath, "WriteNewArticle").ToString(), "Admin_default", new { controller = "Article", action = "Create" }, new { id = "mnuWriteNewArticle" })</li>
                <li>@Html.ActionLink(HttpContext.GetLocalResourceObject(this.VirtualPath, "ManageArticle").ToString(), "Index", new { controller = "Article" }, new { id = "mnuManageArticle" })</li>
                <li>@Html.RouteLink(HttpContext.GetLocalResourceObject(this.VirtualPath, "ManageArticleCategory").ToString(), "Category", new { table = "Article", action = "Index" }, new { id = "mnuManageArticleCategory" })</li>
            </ul>
        </li>
        <li><a href="#" class="nav-top-item" id="mnuProduct">@HttpContext.GetLocalResourceObject(this.VirtualPath, "Product").ToString()</a>
            <ul>
                <li>@Html.RouteLink(HttpContext.GetLocalResourceObject(this.VirtualPath, "CreateNewProduct").ToString(), "Admin_default", new { controller = "Product", action = "Create" }, new { id = "mnuCreateNewProduct" })</li>
                <li>@Html.ActionLink(HttpContext.GetLocalResourceObject(this.VirtualPath, "ManageProduct").ToString(), "Index", new { controller = "Product" }, new { id = "mnuManageProduct" })</li>
                <li>@Html.RouteLink(HttpContext.GetLocalResourceObject(this.VirtualPath, "ManageProductCategory").ToString(), "Category", new { table = "Product", action = "Index" }, new { id = "mnuManageProductCategory" })</li>
            </ul>
        </li>
        <li><a href="#" class="nav-top-item" id="mnuAccount">@HttpContext.GetLocalResourceObject(this.VirtualPath, "Account").ToString()</a>
            <ul>
                <li>@Html.RouteLink(HttpContext.GetLocalResourceObject(this.VirtualPath, "AddNewAccount").ToString(), "Admin_default", new { controller = "Account", action = "Create" }, new { id = "mnuAddNewAccount" })</li>
                <li>@Html.RouteLink(HttpContext.GetLocalResourceObject(this.VirtualPath, "ChangePassword").ToString(), "Admin_default", new { controller = "Account", action = "ChangePassword" }, new { id = "mnuChangePassword" })</li>
                <li>@Html.ActionLink(HttpContext.GetLocalResourceObject(this.VirtualPath, "ManageAccount").ToString(), "Index", new { controller = "Account" }, new { id = "mnuManageAccount" })</li>
            </ul>
        </li>
        <li><a href="#" class="nav-top-item">@HttpContext.GetLocalResourceObject(this.VirtualPath, "Setting").ToString()</a>
            <ul>
                <li><a href="#">General</a></li>

                <li>@Html.ActionLink("File Management", "Index", new { controller = "FileManagement" }, new { id = "mnuChangePassword" })</li>
                <li><a href="#">Users and Permissions</a></li>
            </ul>
        </li>
    </ul>
</div>
